KmpOptimization

Added in 8.2.0

@Incubating
interface KmpOptimization


DSL object for configurations aimed for optimizing build process(e.g. speed, correctness)

Summary

Public properties

ConsumerKeepRules

The collection of keep rule files for consumers of the library to use.

LibraryKeepRules

The collection of keep rule files that the plugin should use when optimizing the AAR

Boolean

Specifies whether to enable code shrinking for this build type.

ConfigurableFiles

The collection of keep rule files to use for the test APK.

Public properties

consumerKeepRules

Added in 8.2.0
val consumerKeepRulesConsumerKeepRules

The collection of keep rule files for consumers of the library to use.

keepRules

Added in 8.2.0
val keepRulesLibraryKeepRules

The collection of keep rule files that the plugin should use when optimizing the AAR

minify

Added in 8.2.0
var minifyBoolean

Specifies whether to enable code shrinking for this build type.

By default, when you enable code shrinking by setting this property to true, the Android plugin uses ProGuard.

To learn more, read Shrink Your Code and Resources.

testKeepRules

Added in 8.2.0
val testKeepRulesConfigurableFiles

The collection of keep rule files to use for the test APK.